<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet"  href="http://libs.baidu.com/bootstrap/2.3.2/css/bootstrap.css">
    <script type="text/javascript" src="http://libs.baidu.com/jquery/2.3.2/jquery.js"></script>
    <script type="text/javascript" src="http://libs.baidu.com/bootstrap/2.3.2/js/bootstrap.js"></script>
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>Title</title>

</head>
<body>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <h3 class="text-center">
                登录
            </h3>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span4">
            <form class="form-horizontal" action="/User/userLogin">
                <div class="control-group">
                    <label class="control-label" for="inputEmail">用户名</label>
                    <div class="controls">
                        <input th:name="username" id="inputEmail" type="text" />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">密码</label>
                    <div class="controls">
                        <input th:name="password" id="inputPassword" type="password" />
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button class="btn" type="submit">登陆</button>
                    </div>
                </div>
            </form>
        </div>
        <div class="span8">
            <div th:each="users:${users}" style="display: inline-block ; cursor: pointer ; border: #212529 1px ;">
                <a th:href="@{'/User/Login2?id='+${users.id}}" style="margin-left: 10px;border: #212529 1px">
                    <div th:text="${users.id}" id="users.id"></div>
                    <div th:text="${users.username}"></div>
                    <div th:text="${users.gender}"></div>
                    <div th:text="${users.age}"></div>
                    <div th:text="${users.education}"></div>
                    <div th:text="${users.career}"></div>
                </a>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    function loginFunc() {
        var id = document.getElementById()
        window.location.href="/User/Login2"+id;
    }
</script>
</html>